package com.jumi.microservice.constant.ceshi;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author Scw
 * @Date 2020-07-22 18:03
 */
public enum CeshiEnum implements AbstractEnum {
    //测试的提示
    NO_LOGIN(500, "请先登录"),
    CESHI_STATUS1(1, "ceshi1"),
    CESHI_STATUS2(2, "ceshi2");

    private Integer code;
    private String message;
    CeshiEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}

